package edu.com;


public class six {
    public static void main(String[] args) {
        String[][] arr1={{"历史","-","其他","-","其他"},{"其他","-","科学","-","其他"},{"其他","-","其他","-","军事"},{"新闻","-","其他","-","其他"}};
        for (int i = 0; i < 4; i++) {
            for (int j = 0; j < 5; j++) {
                System.out.printf(arr1[i][j]);
                if(j==4){
                    System.out.println();
                }
            }
        }
    }
}
